//
//  ForgetPwdViewController.m
//  CPetro
//
//  Created by ggx on 2017/3/8.
//  Copyright © 2017年 高广校. All rights reserved.
//

#import "ForgetPwdViewController.h"

#import "LRMoreInputView.h"
#import "BSButtonView.h"
@interface ForgetPwdViewController ()<BSButtonViewDelegate>

@end

@implementation ForgetPwdViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationItemTitle = @"忘记密码";
    NSArray *cateCoryData = @[@{@"assistantName":@"手机号"},@{@"assistantName":@"获取验证码"},@{@"assistantName":@"密码"},@{@"assistantName":@"重复新密码"}];
    LRMoreInputView *lrMoreInputView = [[LRMoreInputView alloc]initItemWithFram:CGRectMake(0,10, SCREEN_WIDTH, cateCoryData.count * 40) andData:cateCoryData];
    [self.view addSubview:lrMoreInputView];
    
    BSButtonView *bsButtonView = [[BSButtonView alloc]initItemWithFram:CGRectMake(0, CGRectGetMaxY(lrMoreInputView.frame)+ 60, SCREEN_WIDTH, 40) andData:@[@"完成"]];
    bsButtonView.delegate = self;
    [self.view addSubview:bsButtonView];

}
-(void)didActionBottomIndex:(NSInteger)index{
    POP;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
